package com.yc.exception;

import org.springframework.http.HttpStatus;

// 用户名已存在异常
public class UsernameAlreadyExistsException extends BusinessException {
    public UsernameAlreadyExistsException(String message) {
        super(message, HttpStatus.CONFLICT); // 409
    }
}
